﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CubicFWNet.Data.Models;
using CubicFWNet.Data.SystemManager;

namespace CubicFWNet.Application.SystemManager
{
    public class ProfitRatioApp
    {
        private readonly ProfitRatioRepository _service = new ProfitRatioRepository();

        public int Add(ProfitRatio web)
        {
            return _service.Insert(web);
        }
        public int Update(ProfitRatio web)
        {
            return _service.Update(web);
        }
    }
}
